package com.ldzysoft.myweather.db;

import org.litepal.crud.LitePalSupport;

public class County extends LitePalSupport {

    /*
    * id：数据库自增ID，无需修改
    * countyName：县名称
    * cityId：县所属城市的ID
    * weatherId：天气代号
    * 获取数据：http://guolin.tech/api/china/16/116
    * 查询天气：http://guolin.tech/api/weather?cityid=CN101010200
    * */

    private int id, cityId;
    private String countyName, weatherId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public String getWeatherId() {
        return weatherId;
    }

    public void setWeatherId(String weatherId) {
        this.weatherId = weatherId;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }
}
